package com.youkeda.dewu.dao;

import com.youkeda.dewu.dataobject.PaymentRecordDO;
import com.youkeda.dewu.param.PaymentRecordQueryParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PaymentRecordDAO {
    int deleteByPrimaryKey(String id);

    int insert(PaymentRecordDO record);

    int insertSelective(PaymentRecordDO record);

    PaymentRecordDO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(PaymentRecordDO record);

    int updateByPrimaryKey(PaymentRecordDO record);

    List<PaymentRecordDO> queryParam(@Param("queryParam")PaymentRecordQueryParam queryParam);
}